<form style="margin-top: 15px;"  action="<?php if( isset( $action ) ) echo $action ?>" method="post" />
	<div style="margin-bottom: 15px">
		<label style="display: block;">Topic:</label>
		<input style="width: 90%" type="text" name="topic" value="<?php if( isset( $topic ) ) echo $topic; ?>" />
	</div>
	<div style="margin-bottom: 15px;">
		<label style="display: block;">Post:</label>
		<textarea style="width: 90%; height: 240px;" name="post"><?php if( isset( $post ) ) echo $post; ?></textarea>
	</div>
	<div>
		<input type="submit" value="Save" />
	</div>
<?php if( isset( $hiddenInputs ) ) foreach( $hiddenInputs as $k => $v ) : ?>	
	<input type="hidden" name="<?php echo $k ?>" value="<?php echo $v ?>" />
<?php endforeach; ?>	
</form>